@space: 24px;

.modalDefault() {
  :global {
    .ant-modal-content {
      // background-color: #222629 !important;
      .ant-modal-header {
        padding-top: 18px;
        padding-bottom: 0;
        // background-color: #222629 !important;
        border-bottom: 0;
      }

      .ant-modal-body {
        padding: 5px @space 0 @space;
      }

      .ant-modal-footer {
        padding: @space;
        padding-top: 0;
        border-top: 0;
      }

      .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
        margin-left: 16px;
      }

      .ant-btn {
        border-radius: 5px;
      }

      // .ant-btn-primary {
      //   background: #18a0fb;
      //   border-color: #18a0fb;
      // }
    }
    .ant-select {
      font-size: 12px;
    }
    .ant-input {
      font-size: 12px;
    }
  }
}

.modal {
  .modalDefault();

  .titleDiv {
    display: flex;
    flex-direction: row;
    align-items: center;

    .titleLogo {
      width: 30px;
      height: 30px;
      margin-right: 10px;
    }

    .title {
      font-weight: 500;
      font-size: 18px;
      font-family: PingFang SC;
      line-height: 18px;
      letter-spacing: 0;
      text-align: left;
    }
  }

  .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    .center {
      width: 100%;
      padding: 16px 0 16px 0;
      overflow: hidden;
      .title {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        font-size: 14px;
        .import {
          color: var(--font);
        }
        .uploadTemplate {
          color: var(--font-primary);
          cursor: pointer;
        }
      }
      .fileContent {
        height: 32px;
        margin-top: 13px;
      }
    }
  }

  .submitBtn {
    margin-left: 24px;
  }
}
